package com.springboot.Controller;

import com.springboot.Service.ChinaDayListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


import java.io.IOException;
import java.util.ArrayList;

/**
 * @author 权哥
 * @version 1.0
 * @date 2022/5/4 17:52
 */
@RestController
public class ChinaDay {

    @Autowired
    ChinaDayListService chinaDayListService;
    @RequestMapping("/getChinaDayList")
    public ArrayList<com.springboot.domain.ChinaDay> getChinaDayList() throws IOException {

        return chinaDayListService.ChinaDayList();
    }
}
